package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 家政人员管理对象 housekeeping
 * 
 * @author ruoyi
 * @date 2021-06-16
 */
public class Housekeeping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long hId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String hName;

    /** 身份证 */
    @Excel(name = "身份证")
    private String hNumber;

    /** 电话 */
    @Excel(name = "电话")
    private String hPhone;

    /** 计费 */
    @Excel(name = "计费")
    private String hMoney;

    /** 工作年限 */
    @Excel(name = "工作年限")
    private Integer hWorkyears;
    private Integer sWorkyears;
    private Integer eWorkyears;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer hAge;
    private Integer sAge;
    private Integer eAge;



    /** 性别 */
    @Excel(name = "性别")
    private String hSex;

    /** 状态（0正常/1工作中/预定） */
    @Excel(name = "状态", readConverterExp = "0=正常/1工作中/预定")
    private String hState;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String hWorklabel;

    /** 学历 */
    @Excel(name = "学历")
    private String hEducation;

    /** 职称 */
    @Excel(name = "职称")
    private String hWorker;

    /** 自我评价 */
    @Excel(name = "自我评价")
    private String hRemarks;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String hNativeplace;

    /** 住宅 */
    @Excel(name = "住宅")
    private String hAddress;
    /** 头像 */
    @Excel(name = "头像")
    private String hUrl;
    private HousekeepingEnclosure housekeepingEnclosure;
    private List<HousekeepingEnclosure> housekeepingEnclosures;

    public List<HousekeepingEnclosure> getHousekeepingEnclosures() {
        return housekeepingEnclosures;
    }

    public void setHousekeepingEnclosures(List<HousekeepingEnclosure> housekeepingEnclosures) {
        this.housekeepingEnclosures = housekeepingEnclosures;
    }

    public HousekeepingEnclosure getHousekeepingEnclosure() {
        return housekeepingEnclosure;
    }

    public void setHousekeepingEnclosure(HousekeepingEnclosure housekeepingEnclosure) {
        this.housekeepingEnclosure = housekeepingEnclosure;
    }

    public void sethWorkyears(Integer hWorkyears) {
        this.hWorkyears = hWorkyears;
    }

    public Integer getsWorkyears() {
        return sWorkyears;
    }

    public void setsWorkyears(Integer sWorkyears) {
        this.sWorkyears = sWorkyears;
    }

    public Integer geteWorkyears() {
        return eWorkyears;
    }

    public void seteWorkyears(Integer eWorkyears) {
        this.eWorkyears = eWorkyears;
    }

    public Integer getsAge() {
        return sAge;
    }

    public void setsAge(Integer sAge) {
        this.sAge = sAge;
    }

    public Integer geteAge() {
        return eAge;
    }

    public void seteAge(Integer eAge) {
        this.eAge = eAge;
    }

    public String gethUrl() {
        return hUrl;
    }

    public void sethUrl(String hUrl) {
        this.hUrl = hUrl;
    }

    public void sethId(Long hId)
    {
        this.hId = hId;
    }

    public Long gethId() 
    {
        return hId;
    }
    public void sethName(String hName) 
    {
        this.hName = hName;
    }

    public String gethName() 
    {
        return hName;
    }
    public void sethNumber(String hNumber) 
    {
        this.hNumber = hNumber;
    }

    public String gethNumber() 
    {
        return hNumber;
    }
    public void sethPhone(String hPhone) 
    {
        this.hPhone = hPhone;
    }

    public String gethPhone() 
    {
        return hPhone;
    }
    public void sethMoney(String hMoney) 
    {
        this.hMoney = hMoney;
    }

    public String gethMoney() 
    {
        return hMoney;
    }
    public void sethAge(Integer hAge) 
    {
        this.hAge = hAge;
    }

    public Integer gethAge() 
    {
        return hAge;
    }
    public void sethSex(String hSex) 
    {
        this.hSex = hSex;
    }

    public String gethSex() 
    {
        return hSex;
    }
    public void sethState(String hState) 
    {
        this.hState = hState;
    }

    public String gethState() 
    {
        return hState;
    }
    public void sethWorklabel(String hWorklabel) 
    {
        this.hWorklabel = hWorklabel;
    }

    public String gethWorklabel() 
    {
        return hWorklabel;
    }
    public void sethEducation(String hEducation) 
    {
        this.hEducation = hEducation;
    }

    public String gethEducation() 
    {
        return hEducation;
    }
    public void sethWorker(String hWorker) 
    {
        this.hWorker = hWorker;
    }

    public String gethWorker() 
    {
        return hWorker;
    }
    public void sethRemarks(String hRemarks) 
    {
        this.hRemarks = hRemarks;
    }

    public String gethRemarks() 
    {
        return hRemarks;
    }
    public void sethNativeplace(String hNativeplace) 
    {
        this.hNativeplace = hNativeplace;
    }

    public String gethNativeplace() 
    {
        return hNativeplace;
    }
    public void sethAddress(String hAddress) 
    {
        this.hAddress = hAddress;
    }

    public String gethAddress() 
    {
        return hAddress;
    }

    public Integer gethWorkyears() {
        return hWorkyears;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hId", gethId())
            .append("hName", gethName())
            .append("hNumber", gethNumber())
            .append("hPhone", gethPhone())
            .append("hMoney", gethMoney())
            .append("hWorkyears", geteWorkyears())
            .append("hAge", gethAge())
            .append("hSex", gethSex())
            .append("hState", gethState())
            .append("hWorklabel", gethWorklabel())
            .append("hEducation", gethEducation())
            .append("hWorker", gethWorker())
            .append("hRemarks", gethRemarks())
            .append("hNativeplace", gethNativeplace())
            .append("hAddress", gethAddress())
            .append("hUrl", gethUrl())
            .toString();
    }
}
